#include"ShareMemoey.hpp"

int main()
{
    shm.Get();
    shm.Attach();

    //在此通信
    char* buffer = (char*)shm.GetAddr();
    char ch = 'a';
    while(ch <= 'z')
    {
        buffer[ch-'a'] = ch;
        ch++;
        sleep(1);
    }

    shm.DeAttch();
    return 0;
}